package com.lunhui.service.lunhui.service.business;

import com.lunhui.cache.client.model.LoginUserDto;
import com.lunhui.cache.client.model.RoseCacheDto;

/**
 * @author renminghe-kg
 */
public interface CacheService {

    void addLoginUserCache(LoginUserDto loginUserDto) throws Exception;

    LoginUserDto getLoginUserCacheByUserId(Integer userId) throws Exception;

    Integer saveToDB(RoseCacheDto roseCacheDto);
}